package com.igeek.boot.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jwj
 * @since 2023-12-26
 */
@Data
@TableName("transfer")
@ApiModel(value="Transfer对象", description="")
public class Transfer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录ID（RecordID）：唯一标识每个移库记录的ID")
    @TableId(value = "recordID", type = IdType.AUTO)
    private Integer recordID;

    @ApiModelProperty(value = "移库的编号")
    @TableField("transfer_number")
    private String transferNumber;

    @ApiModelProperty(value = "转移的物资名称")
    @TableField("transfer_name")
    private String transferName;

    @ApiModelProperty(value = "转移的物资类型")
    @TableField("transfer_type")
    private String transferType;

    @ApiModelProperty(value = "移库数量（TransferQuantity）：移库的物资数量")
    @TableField("transfer_quantity")
    private Integer transferQuantity;

    @ApiModelProperty(value = "移库日期（TransferDate）：物资移库的日期")
    @TableField("transfer_date")
    private LocalDateTime transferDate;

    @ApiModelProperty(value = "移库表的修改日期")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "外键：关联货架ID，表示移出")
    @TableField("source_shelfID")
    private Integer sourceShelfid;

    @ApiModelProperty(value = "外键:  关联货架ID，表示移入操作")
    @TableField("des_shelfID")
    private Integer desShelfid;

    @ApiModelProperty(value = "是否删除")
    @TableField("is_deleted")
    private Integer isDeleted;

    @ApiModelProperty(value = "外键：关联user表的id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "移库状态：0 未移库 1 已移库")
    @TableField("station")
    private Integer station;


}
